home *** CD-ROM | disk | FTP | other *** search
- WAITER.EXE - CONDITION-SPECIFIC COMMAND EXECUTION UTILITY
-
- WAITER is a small, simple program for use in a network environment.
- Once executed, it will wait for the existance of a specific filename,
- and then perform the requested command. Once completed, WAITER can exit
- to DOS, or perform the process of waiting for a specific filename and
- executing a command again.
-
- SYNTAX:
-
- WAITER <file name> <command> [R]
-
-
- <file name> - any valid filename. No wildcards allowed.
- <command> - any command that is normally entered at the DOS prompt.
- (Program name, batch file, DOS command, etc.)
- [R] - If included, it will repeat the process until a key is
- pressed.
-
- EXAMPLE:
-
- WAITER SALES.ASC CNVRT.BAT R
-
- This would cause WAITER to watch for the existance of SALES.ASC in the
- current directory, and then run the batch file CNVRT.BAT when SALES.ASC
- exists. Once completed, WAITER would return to watching for the existance
- of SALES.ASC again (which means that the batch file CNVRT.BAT would need
- to rename or delete SALES.ASC each time it finished with it).
-
-
- WAITER F:\ACCT\DOWNLOAD.ASC CONVERSN.EXE
-
- This would cause WAITER to watch for the existance of DOWNLOAD.ASC in
- the F:\ACCT directory, and then run the program CONVERSN.EXE in the
- current directory. Once completed, WAITER would end and return to the
- DOS prompt.
-
- *--------------------------------------------------------------------*
- One Note:
- There are no guarantees that this program will work in your
- particular environment. This program is released to the public
- domain as is, without any warranties.
-
- I wrote this to solve a specific problem and released it to this forum
- after the fact (it's more the idea than the program that I am presenting)
-
-
- David Dunagan - Compuserve ID: 73230,3343
-